package com.djl.seckilldemo.vo;

import com.djl.seckilldemo.IsMobile;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @program: seckill-demo
 * @description: 登录参数
 * @author: Mr.dai
 * @create: 2021-10-14 10:44
 **/
@Data
public class LoginVo {
    @NotNull
    @IsMobile
    private String mobile;
    @NotNull
    @Length(min=32)
    private String password;
}
